package com.quanyan.ic.vendingMachine.remoting.request;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by jian.zhou on 2017/8/2.
 * 场馆下单请求参数
 */
public class ReqPlaceOrder implements Serializable {

    private List<PlaceGoodsInfo> goodsList;//商品LIST
    private String saleMachineNo;//商品售卖机编号
    private Integer placeId; //场馆ID
    private String url;         //支付成功回调url

    public List<PlaceGoodsInfo> getGoodsList() {
        if (this.goodsList == null)
            this.goodsList = new ArrayList<>();
        return goodsList;
    }

    public void setGoodsList(List<PlaceGoodsInfo> goodsList) {
        this.goodsList = goodsList;
    }

    public String getSaleMachineNo() {
        return saleMachineNo;
    }

    public void setSaleMachineNo(String saleMachineNo) {
        this.saleMachineNo = saleMachineNo;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "ReqPlaceOrder{" +
                "goodsList=" + goodsList +
                ", saleMachineNo='" + saleMachineNo + '\'' +
                ", placeId=" + placeId +
                '}';
    }

}
